package com.rainwood.water_authority.http.response;

/**
 * @author sxs
 * @date :2020/10/21
 * @desc: 登录结果数据
 */
public final class LoginResultBean {


    /**
     * code : 1
     * data : {"role":"l507vztyyrk4","roleName":"超级管理员","stid":"Ore126054470Vd","token":"5d94d6fe3667aeb568d0e35b567e65df"}
     * warn : 登录成功
     */

    private int code;
    private DataBean data;
    private String warn;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getWarn() {
        return warn;
    }

    public void setWarn(String warn) {
        this.warn = warn;
    }

    public static class DataBean {
        /**
         * role : l507vztyyrk4
         * roleName : 超级管理员
         * stid : Ore126054470Vd
         * token : 5d94d6fe3667aeb568d0e35b567e65df
         */

        private String role;
        private String roleName;
        private String stid;
        private String token;

        public String getRole() {
            return role;
        }

        public void setRole(String role) {
            this.role = role;
        }

        public String getRoleName() {
            return roleName;
        }

        public void setRoleName(String roleName) {
            this.roleName = roleName;
        }

        public String getStid() {
            return stid;
        }

        public void setStid(String stid) {
            this.stid = stid;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }
    }
}
